package com.example.kothin_study.dao

import android.content.SharedPreferences

/**
 *@author cy
 *@date 2024/8/13
 *@apiNote
 */
fun SharedPreferences.open(func: SharedPreferences.Editor.() -> Unit) {
    val editor = edit()
    editor.func()
    editor.apply()
}